@echo off
echo Pulling latest code...
git pull

echo.
echo Please make your code changes now.
echo After you're done, press any key to continue with commit...
pause > nul

echo.
echo Adding all changes...
git add .

echo.
set /p commit_msg="Enter your commit message (e.g., '完成购物车功能'): "
git commit -m "%commit_msg%"

echo.
echo Pushing changes to remote...
git push

echo.
echo Done! Press any key to exit...
pause > nul 